import add from './utils/math';
import sleep from './utils/sleep';
import style from './assets/css/global.css';
import img from './assets/image/home_bg.png';

console.log('this is index.js', add(1, 1), style, img);

async function doLoop() {
  const arr = [1, 2, 3];
  // eslint-disable-next-line no-restricted-syntax
  for (const value of arr) {
    // eslint-disable-next-line no-await-in-loop
    await sleep(value * 1000);
  }
}

doLoop();
